package com.example.base.system.domain;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiong
 * @since 2024-02-07
 */

@Data
@ApiModel(description = "")
@TableName("sys_config")
public class SysConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value="id", type= IdType.AUTO)
    private Integer id;
    /**
    * key路径
    */
    private String configPath;
    /**
    * key的值
    */
    private String configName;
    /**
    * key的备注
    */
    private String configKey;


    private String configValue;
    /**
    * 删除状态
    */
    @TableLogic
    private Integer deleted;
    /**
    * 创建时间
    */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createdate;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date updatedate;

}
